package com.dv.driverless.domain;

import com.dv.common.annotation.Excel;
import com.dv.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 钢卷信息对象 steel_coil
 *
 * @author ruoyi
 * @date 2023-04-11
 */
public class SteelCoil extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 钢卷编码 */
    @Excel(name = "钢卷编码")
    private String code;

    /** 品名 */
    @Excel(name = "品名")
    private String name;

    /** 宽度 */
    @Excel(name = "宽度")
    private Integer width;

    /** 内径 */
    @Excel(name = "内径")
    private Integer inside;

    /** 净重 */
    @Excel(name = "净重")
    private Integer netWeight;

    /** 毛重 */
    @Excel(name = "毛重")
    private Integer grossWeight;

    /** 规格 */
    @Excel(name = "规格")
    private String spec;

    /** 厚度 */
    @Excel(name = "厚度")
    private String specThick;

    /** 长度 */
    @Excel(name = "长度")
    private String specLength;

    /** 品种 */
    @Excel(name = "品种")
    private String variety;

    /** 产地 */
    @Excel(name = "产地")
    private String origin;

    /** 0：不在库 1：在库 2：已出库 3：被锁 4：异常卷 */
    @Excel(name = "0：不在库 1：在库 2：已出库 3：被锁 4：异常卷")
    private Integer status;

    /** 丝带颜色【0:绿丝带 1:红丝带】 */
    @Excel(name = "丝带颜色【0:绿丝带 1:红丝带】")
    private Integer ribbon;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setWidth(Integer width)
    {
        this.width = width;
    }

    public Integer getWidth()
    {
        return width;
    }
    public void setInside(Integer inside)
    {
        this.inside = inside;
    }

    public Integer getInside()
    {
        return inside;
    }
    public void setNetWeight(Integer netWeight)
    {
        this.netWeight = netWeight;
    }

    public Integer getNetWeight()
    {
        return netWeight;
    }
    public void setGrossWeight(Integer grossWeight)
    {
        this.grossWeight = grossWeight;
    }

    public Integer getGrossWeight()
    {
        return grossWeight;
    }
    public void setSpec(String spec)
    {
        this.spec = spec;
    }

    public String getSpec()
    {
        return spec;
    }
    public void setSpecThick(String specThick)
    {
        this.specThick = specThick;
    }

    public String getSpecThick()
    {
        return specThick;
    }
    public void setSpecLength(String specLength)
    {
        this.specLength = specLength;
    }

    public String getSpecLength()
    {
        return specLength;
    }
    public void setVariety(String variety)
    {
        this.variety = variety;
    }

    public String getVariety()
    {
        return variety;
    }
    public void setOrigin(String origin)
    {
        this.origin = origin;
    }

    public String getOrigin()
    {
        return origin;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setRibbon(Integer ribbon)
    {
        this.ribbon = ribbon;
    }

    public Integer getRibbon()
    {
        return ribbon;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("code", getCode())
                .append("name", getName())
                .append("width", getWidth())
                .append("inside", getInside())
                .append("netWeight", getNetWeight())
                .append("grossWeight", getGrossWeight())
                .append("spec", getSpec())
                .append("specThick", getSpecThick())
                .append("specLength", getSpecLength())
                .append("variety", getVariety())
                .append("origin", getOrigin())
                .append("status", getStatus())
                .append("ribbon", getRibbon())
                .toString();
    }
}
